home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 #2 / Ham Radio 2000 - Volume 2.iso / HAMV2 / TCP_IP / TNOS230S / FTP.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-03  |  522 b   |  19 lines

  1. #ifndef    _FTP_H
  2. #define    _FTP_H
  3.  
  4. /* Definitions common to both FTP servers and clients */
  5. #define    BLKSIZE    4096    /* Chunk size for file I/O */
  6.             /* Was too small for 9600 baud transfers - iw0cnb */
  7.  
  8. #define    ASCII_TYPE    0
  9. #define    IMAGE_TYPE    1
  10. #define    LOGICAL_TYPE    2
  11.  
  12. /* In ftpsubr.c: */
  13. long sendfile (FILE *fp,int s,int mode,int hash);
  14. long recvfile (FILE *fp,int s,int mode,int hash);
  15. int isbinary (FILE *fp);
  16. unsigned long getsize (FILE *fp);
  17. unsigned long checksum (FILE *fp, long n);
  18. #endif    /* _FTP_H */
  19.